<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 600px;
            height: 600px;
            border:2px solid gray;
        }
        .box div{
            width: 200px;
            height: 200px;
            background: red;
            border: 1px solid black;    
        }
        .box div:nth-child(1){
            transform: translateX(400px);
        }

        .box div:nth-child(2){
            transform: translateX(400px) scale(0.5);
        }

        .box div:nth-child(3){
            transform: scale(0.5) translateX(400px);
        }/*先缩放会造成 位移步长进行缩放 所以位移目的地变短*/

        
    </style>
</head>
<body>
    <div class="box">
        <div></div>
        <div></div>
        <div></div>
    </div>
</body>
</html>